Rescue teams cleared the foam, which reached heights of about five feet, the roads have been blocked and traffic diverted, police said