Spanish government moves to extend smoking ban to terraces, beaches