Studying 27-Day Variations in the GCR Flux, Based on PAMELA Measurements