Photometric study of two neglected beta Lyr-type binaries: V342 Her & V387 Her