Inter- and intra-molecular selectivity in the cyclisation of N-cinnamoyl-1-naphthamides in solid-state photochemistry and peri selectivity in their photocyclisation in solution