The British government has said it will officially recognise Palestine as a state in September - unless Israel meets certain conditions.