Intrinsic alignments of disc and elliptical galaxies in the MassiveBlack-II and Illustris simulations | Synapse