Introduction to quantum mechanics with applications to chemistry