Non-self-adjoint Hamiltonians defined by sesquilinear forms and their physical applications