Assembly votes to suspend hydrofracking for three years