Modularity properties of false theta functions