Accuracy analysis of immersed boundary method using method of manufactured solutions