Mathematical methods of theoretical physics