A new nonclassicality measure for the quantum states of a bosonic field