Boris Johnson has taken aim at France and Germany for their lack of response to the Russian invasion of Ukraine.