Non-normal-parity states in A = 7 and 8 nuclei