Tailoring the diameter of electrospun layered perovskite nanofibers for photocatalytic water splitting