Three-dimensional orientational control of molecules by slantwise photoirradiation